﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Pheonix.CodeLibrary.Web;

/// <summary>
/// Summary description for PrivateBasePage
/// </summary>
public class PrivateBasePage : BasePage
{
    public PrivateBasePage()
    {
        this.Load += LoadPrivateBasePage;
    }

    protected void LoadPrivateBasePage(object sender, EventArgs e)
    {
        if (SessionManager.IsUserLoggedIn == false)
            Response.Redirect("~/public/logon.aspx");
    }
}
